<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<section th:class="| tab-pane fade ${result.data.member!=null?null:'show active'} |"
         id="list" role="tabpanel">
    <table class="table table-bordered table-hover">
        <thead>
        <tr class="table-info">
            <th>Id</th>
            <th>姓名</th>
            <th>学号</th>
            <th>图片</th>
            <th>介绍</th>
            <th>职位</th>
            <th>专业</th>
            <th>年级</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="member,memberState:${result.data.memberList}">
            <td> [[${member.memberId}]] </td>
            <td> [[${member.memberName}]] </td>
            <td> [[${member.memberStudentNum}]] </td>
            <td> [[${member.memberPicture}]] </td>
            <td> [[${member.memberIntroduce}]] </td>
            <td> [[${member.memberCategoryName}]] </td>
            <td> [[${member.memberMajor}]] </td>
            <td> [[${member.memberGrade}]] </td>

            <td>
                <a th:href="@{/admin/member(memberId=${member.memberId})}"
                   type="button" class="btn btn-sm btn-outline-primary">
                    修改
                </a>
                <a th:href="@{/admin/member/delete(memberId=${member.memberId})}"
                   type="button"
                   class="btn btn-sm btn-outline-danger">删除</a>
            </td>
        </tr>
        </tbody>
    </table>
</section>
</html>
